package siberia.lexer;

public class Token {
    public TokenType type;
    public Object literal;
    public int line;

    public Token(TokenType type, Object literal, int line) {
        this.type = type;
        this.literal = literal;
        this.line = line;
    }

    public String toString() {
        return "Token(type: " + type.toString() + ", literal: " + literal + ") on line " + line;
    }
}
